package com.demo6;

public abstract class Coach extends Person {
    //构造方法的使用
    public Coach() {
    }

    public Coach(String name, int age) {
        super(name, age);
    }

    public abstract void teach();//抽象方法
}
